﻿using System.Runtime.Serialization;
using System.Windows.Media;
using System.Windows.Media.Media3D;

namespace GameBoard
{
    [DataContract]
    public class SphereVisualData : BaseTerrainData
    {
        [DataMember]
        public Point3D Center { get; set; }

        [DataMember]
        public double Radius { get; set; }

        public override Point3D CenterOfTerrainFeature
        {
            get
            {
                return Center;
            }
        }
        public override double ZoomHeight
        {
            get
            {
                return Radius * 2;
            }
        }

        public override string ItemDescription
        {
            get
            {
                return "Sphere";
            }
        }


    }
}